package com.shadow.demo.dictionary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 字段内容
 * @Index(name = "DCI_DIC_ITEM_DICID", columnList = "FK_DIC_ID"),
 * @Index(columnList = "FK_DIC_ID,F_NAME"),
 * @Index(columnList = "ID,FK_DIC_ID")})
 *
*/
@Data
@Accessors(chain = true)
@TableName("DC_DIC_ITEM")
public class DicItemEntity {

    @TableId(type = IdType.AUTO)
    private String id;

    @TableField("F_NAME")
    private String name;

    @TableField("F_VALUE")
    private String value;

    @TableField("F_SORT_NO")
    private Integer sortNo;

    @TableField("F_PARENT_ID")
    private String parentId;

    @TableField("FK_DIC_ID")
    private String dicId;
}
